var childObj;
//侧边栏控制	 
function switchSysBar(){ 
   // var style=document.getElementById("tt");
    //alert(style.width);
	if (document.getElementById("frmTitle").style.display=="")
	{ 
		document.getElementById("img1").src="${pageContext.servletContext.contextPath }/images/main_41_1.gif";
		document.getElementById("frmTitle").style.display="none" ;
		
		//style.fit="true";
	} 
	else
	{ 
		document.getElementById("img1").src="${pageContext.servletContext.contextPath }/images/main_41.gif";
		document.getElementById("frmTitle").style.display="" ;
		// var style=document.getElementById("tt").style;
		//style.fit="true";
		//$("tt").width(100%)
	} 
} 
	function expand(el)
	{
	    
		childObj = document.getElementById("child" + el);

		if (childObj.style.display == 'none')
		{
			
			$("#child"+el).show(2500);
			//childObj.style.display = 'block';
			
		}
		else
		{
			childObj.style.display = 'none';
			//$("#child"+el+" tr").hide(2000);
		}
		return;
	}
	
	function addtab(tabUrl,tabTitle){
	
      window.parent.addTab(tabTitle, tabUrl);

	
	}
	